﻿@model Subfaculty.WebApplication.ViewModels.StudyAreaViewModel
@{
	using (Ajax.BeginForm("ViewDetails", "StudyArea", new AjaxOptions { HttpMethod = "post", UpdateTargetId = "studyArea-details" }))
	{
			<fieldset>
				<legend>Учебное направвление</legend>

		<div class="ContactBlock" style="float:left">
		<table>
			<tr>
				<td>@Html.LabelFor(model => model.Name):</td>
				<td>
					@Html.DisplayFor(model => model.Name)
				</td>
			</tr>
			<tr>
				<td>@Html.LabelFor(model => model.Code):</td>
				<td>
					@Html.DisplayFor(model => model.Code)
				</td>
			</tr>
			<tr>
				<td>@Html.LabelFor(model => model.Profile):</td>
				<td>
					@Html.DisplayFor(model => model.Profile)
				</td>
			</tr>
			<tr>
				<td>@Html.LabelFor(model => model.Qualification):</td>
				<td>
					@Html.DisplayFor(model => model.Qualification)
				</td>
			</tr>
			<tr>
				<td>@Html.LabelFor(model => model.Duration) (семестров):</td>
				<td>
					@Html.DisplayFor(model => model.Duration) 
				</td>
			</tr>
		</table>
	</div>

@*				@Html.HiddenFor(c => c.Id)    
				<br />
				<div>
					<b>@Html.LabelFor(c => c.Name):</b>
					@Html.DisplayFor(c => c.Name)
				</div>
				<br />
				<div>
				    <b>@Html.LabelFor(c => c.Code)</b>	
					<br />
					@Html.DisplayFor(c => c.Code)
				</div>
				<br />
				<div>
					<b>@Html.LabelFor(c => c.Profile)</b>
					<br />
					@Html.DisplayFor(c => c.Profile)
				</div>
				<br />
				<div>
					<b>@Html.LabelFor(c => c.Qualification)</b>
					<br />
					@Html.DisplayFor(c => c.Qualification)
				</div>
				<br />
				<div>
				<b>@Html.LabelFor(c => c.Duration)</b>
				<br />
				@Html.DisplayFor(c => c.Duration) семестров
			</div>
			<br />
			<br />*@
	</fieldset>
	}
}
